﻿/*-----------------------------------------------
// File: EngineAIMsg.cs
// Description: 
// Author: Shaobing	492057342@qq.com
-----------------------------------------------*/
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Battle.Engine.LogicModel;

namespace Battle.Engine.AI
{
    public class EngineAIMsg  
    {
        public FActor actor;
        public FSkill skill;

        public EngineAIMsg(FActor _actor, int skillIndex) 
        {
            actor = _actor;
            skill = actor.GetFSkill(skillIndex);
        }
    }

    public class EnginePlayerAIMsg {
        public FActor actor;
        public Queue<FSkill> skills = new Queue<FSkill>();
        public EnginePlayerAIMsg(FActor _actor) {
            actor = _actor;
        }
        public void AddSkill(FSkill skill) {
            skills.Enqueue(skill);
        }
    }

    public class EnginePlaybackAIMsg : EngineAIMsg
    {
        public double time;
        public EnginePlaybackAIMsg(FActor actor, int skillIndex, double time):base(actor, skillIndex)
        {
            this.time = time;
        }
    }

}